<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv=Content-Type content="text/html;charset=utf-8" />
        <title>&nbsp;</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no">
        <link href="{$docroot}static/css/wshop_main_style.css?v={$cssversion}" type="text/css" rel="Stylesheet" />
        <link href="{$docroot}static/css/common.css?v={$cssversion}" type="text/css" rel="Stylesheet" />
        <script type="text/javascript" src="{$docroot}static/script/jquery-2.1.1.min.js?v={$cssversion}"></script>
        <script type="text/javascript" src="{$docroot}static/script/main.js?v={$cssversion}"></script>
        <script type='text/javascript'>
            $(function() {
                window.onresize = resize;
                resize();
            });
            function resize() {
                var wrapper = document.getElementById('hh');
                wrapper.style.marginTop = ((document.documentElement.clientHeight - wrapper.clientHeight) / 2) + "px";
            }
        </script>
    </head>
    <body>
        <div style='width:70%;margin:0 auto;' id='hh'>
            <img src='{$docroot}static/images/logo-source.jpg' height="120px" style='display: block;margin:0 auto'/>

            <form class="search-w-box" style="border-bottom: none;padding:10px 1px;" action='#' onsubmit='searchdo(this);
                    return false;'>
                <input type="search" 
                       name="search" 
                       id="searchBox"
                       targ="vProduct/view_list/cat=1"
                       class="search-w-input"
                       value="{$searchkey}"
                       placeholder="搜一搜，找到你想要的" />
            </form>

            <a class="button green" id="wechat-payment-btn" href="javascript:;" onclick="searchdo($('.search-w-box')[0])"
               style='margin:10px auto;padding:5px 0;width:85px;border-radius: 20px;font-size: 13px;'
               >搜索</a>
        </div>
    </body>
</html>